<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    fetch('http://127.0.0.1:8000/fetch',{
        method: 'post',
        body:JSON.stringify({
            name: 'yuu',
            hobby: 'game'
        }),

    }).then(value => {
        return value.json()
    }).then(value => {
        console.log(value)
    })
</script>
</body>
</html>